// SignUpDialog.cpp : implementation file
//

#include "Cmn.h"


// CSignUpDialog dialog

IMPLEMENT_DYNAMIC(CSignUpDialog, CDialog)

CSignUpDialog::CSignUpDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CSignUpDialog::IDD, pParent)
	, User_Name(_T(""))
	, Password(_T(""))
	, Repeat_Password(_T(""))
{

}

CSignUpDialog::~CSignUpDialog()
{
}

void CSignUpDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, User_Name);
	DDV_MaxChars(pDX, User_Name, 20);
	DDX_Text(pDX, IDC_EDIT2, Password);
	DDV_MaxChars(pDX, Password, 20);
	DDX_Text(pDX, IDC_EDIT3, Repeat_Password);
	DDV_MaxChars(pDX, Repeat_Password, 20);
}


BEGIN_MESSAGE_MAP(CSignUpDialog, CDialog)
	ON_EN_CHANGE(IDC_EDIT1, &CSignUpDialog::OnEnChangeEdit1)
	ON_EN_CHANGE(IDC_EDIT2, &CSignUpDialog::OnEnChangeEdit2)
	ON_EN_CHANGE(IDC_EDIT3, &CSignUpDialog::OnEnChangeEdit3)
END_MESSAGE_MAP()


// CSignUpDialog message handlers


void CSignUpDialog::OnEnChangeEdit1()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData(true);
	// TODO:  Add your control notification handler code here
}


void CSignUpDialog::OnEnChangeEdit2()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData(true);
	// TODO:  Add your control notification handler code here
}


void CSignUpDialog::OnEnChangeEdit3()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData(true);
	// TODO:  Add your control notification handler code here
}
